CannedMessageConfig


Canned Messages Module Config
Protobuf type meshtastic.ModuleConfig.CannedMessageConfig

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , ModuleConfigProtos.ModuleConfig.CannedMessageConfigOrBuilder

Canned Messages Module Config
Protobuf type meshtastic.ModuleConfig.CannedMessageConfig
Link copied to clipboard
enum InputEventChar : ProtocolMessageEnum

TODO: REPLACE
Protobuf enum meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar

Properties

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard

Input event origin accepted by the canned message module.
Can be e.g. "rotEnc1", "upDownEnc1", "scanAndSelect", "cardkb", "serialkb", or keyword "_any"
string allow_input_source = 10 [deprecated = true];
Link copied to clipboard
open fun getAllowInputSourceBytes(): ByteString

Input event origin accepted by the canned message module.
Can be e.g. "rotEnc1", "upDownEnc1", "scanAndSelect", "cardkb", "serialkb", or keyword "_any"
string allow_input_source = 10 [deprecated = true];
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getEnabled(): Boolean

Enable/disable CannedMessageModule.
bool enabled = 9 [deprecated = true];
Link copied to clipboard

Generate input event on CCW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_ccw = 6;
Link copied to clipboard

Generate input event on CCW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_ccw = 6;
Link copied to clipboard

Generate input event on CW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_cw = 5;
Link copied to clipboard

Generate input event on CW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_cw = 5;
Link copied to clipboard

Generate input event on Press of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_press = 7;
Link copied to clipboard

Generate input event on Press of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_press = 7;
Link copied to clipboard

GPIO pin for rotary encoder A port.
uint32 inputbroker_pin_a = 2;
Link copied to clipboard

GPIO pin for rotary encoder B port.
uint32 inputbroker_pin_b = 3;
Link copied to clipboard

GPIO pin for rotary encoder Press port.
uint32 inputbroker_pin_press = 4;
Link copied to clipboard

Enable the rotary encoder #1. This is a 'dumb' encoder sending pulses on both A and B pins while rotating.
bool rotary1_enabled = 1;
Link copied to clipboard
open fun getSendBell(): Boolean

CannedMessageModule also sends a bell character with the messages.
ExternalNotificationModule can benefit from this feature.
bool send_bell = 11;
Link copied to clipboard
Link copied to clipboard

Enable the Up/Down/Select input device. Can be RAK rotary encoder or 3 buttons. Uses the a/b/press definitions from inputbroker.
bool updown1_enabled = 8;
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.CannedMessageConfig
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.CannedMessageConfig
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.CannedMessageConfig
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.CannedMessageConfig
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): ModuleConfigProtos.ModuleConfig.CannedMessageConfig
Link copied to clipboard
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)